package org.example.aitest.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Data;

/**
 * 收入项目-收入确认(IncomeConfirm)表实体类
 *
 * @author makejava
 * @since 2025-04-27 16:37:49
 */
@SuppressWarnings("serial")
@Data
public class IncomeConfirm extends Model<IncomeConfirm> {

    private Integer id;
    //单据编号
    private String billNo;
    //合同编号
    private String contractNo;
    //合同名称
    private String contractName;
    //合同类别
    private String contractType;
    //销售订单号
    private String salesOrderNo;
    //销售合同行号
    private String salesContractNo;
    //客户编码
    private String clientNo;
    //客户名称
    private String clientName;
    //客户MDM
    private String clientMdm;
    //付款客户编码
    private String payClientNo;
    //付款客户名称
    private String payClientName;
    //项目编码
    private String projectNo;
    //项目WBS
    private String projectWbs;
    //项目名称
    private String projectName;
    //项目收入进度
    private String projectInSche;
    //项目承担部门
    private String projectAsDepart;
    //项目经理
    private String projectManager;
    //合同金额
    private BigDecimal contractMoney;
    //销售订单行金额
    private BigDecimal salesOrderMoney;
    //销售订单行已开票金额
    private BigDecimal salesOrderYetMoney;
    //税率
    private String taxRate;
    //已开票比例
    private String yetRate;
    //累计收入确认比例
    private String allInRate;
    //本次收入确认比例
    private String thInRate;
    //本次收入确认金额
    private BigDecimal thInMoney;
    //合同合行累计收入确认金额
    private BigDecimal contractAllInMoney;
    //合同合行累计收入确认金额（含本次）
    private BigDecimal contractAllInMoneyTh;
    //经法合同编号
    private String legalContractNo;

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
}

